using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace YushengMall.Backend.Api.Entity
{
    public record UserRole : EntityBase
    {
        [Column(TypeName = "uniqueidentifier")]
        public Guid RoleID { get; set; }
        [Column(TypeName = "uniqueidentifier")]
        public Guid UserID { get; set; }
        public virtual Role Role { get; set; }
        public virtual Users User { get; set; }
    }
}